package com.sdry.model.cb;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;


public class HydroPower {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 供应商
     */
    private String supplier;

    /**
     * 仓库名称
     */
    private String warehouse;

    /**
     * 租赁l数量
     */
    private Integer rentalquantity;

    /**
     * 合同数量
     */
    private Integer warehousequantity;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 水费
     */
    private BigDecimal water;

    /**
     * 电费
     */
    private BigDecimal power;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Timestamp createdate;

    /**
     * 创建人
     */
    private String createman;

    /**
     * 更新时间
     */
    private Timestamp updatedate;

    /**
     * 更新人
     */
    private String updateman;

    /**
     * 合计
     */
    private BigDecimal total;

    /**
     * 备用
     */
    private String parameter;

    private String parameter2;

    private String parameter3;

    public String getParameter3() {
        return parameter3;
    }

    public void setParameter3(String parameter3) {
        this.parameter3 = parameter3;
    }

    public String getParameter2() {
        return parameter2;
    }

    public void setParameter2(String parameter2) {
        this.parameter2 = parameter2;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public Integer getRentalquantity() {
        return rentalquantity;
    }

    public void setRentalquantity(Integer rentalquantity) {
        this.rentalquantity = rentalquantity;
    }

    public Integer getWarehousequantity() {
        return warehousequantity;
    }

    public void setWarehousequantity(Integer warehousequantity) {
        this.warehousequantity = warehousequantity;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getWater() {
        return water;
    }

    public void setWater(BigDecimal water) {
        this.water = water;
    }

    public BigDecimal getPower() {
        return power;
    }

    public void setPower(BigDecimal power) {
        this.power = power;
    }

    public Timestamp getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Timestamp createdate) {
        this.createdate = createdate;
    }

    public String getCreateman() {
        return createman;
    }

    public void setCreateman(String createman) {
        this.createman = createman;
    }

    public Timestamp getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Timestamp updatedate) {
        this.updatedate = updatedate;
    }

    public String getUpdateman() {
        return updateman;
    }

    public void setUpdateman(String updateman) {
        this.updateman = updateman;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public String getParameter() {
        return parameter;
    }

    public void setParameter(String parameter) {
        this.parameter = parameter;
    }
}